3.10.97 \(\int (1-x)^{-\frac {1}{2}+p} (c x)^{-2 (1+p)} (1+x)^{\frac {1}{2}+p} \, dx\) [997]

Optimal. Leaf size=83 \[ -\frac {4^{1+p} (1-x)^{\frac {1}{2}+p} (c x)^{-2 (1+p)} \left (\frac {x}{1+x}\right )^{2 (1+p)} (1+x)^{\frac {3}{2}+p} \, _2F_1\left (\frac {1}{2}+p,2 (1+p);\frac {3}{2}+p;\frac {1-x}{1+x}\right )}{1+2 p} \]

[Out]

-4^(1+p)*(1-x)^(1/2+p)*(x/(1+x))^(2+2*p)*(1+x)^(3/2+p)*hypergeom([2+2*p, 1/2+p],[3/2+p],(1-x)/(1+x))/(1+2*p)/(
(c*x)^(2+2*p))

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {134} \begin {gather*} -\frac {4^{p+1} (1-x)^{p+\frac {1}{2}} \left (\frac {x}{x+1}\right )^{2 (p+1)} (x+1)^{p+\frac {3}{2}} (c x)^{-2 (p+1)} \, _2F_1\left (p+\frac {1}{2},2 (p+1);p+\frac {3}{2};\frac {1-x}{x+1}\right )}{2 p+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 - x)^(-1/2 + p)*(1 + x)^(1/2 + p))/(c*x)^(2*(1 + p)),x]

[Out]

-((4^(1 + p)*(1 - x)^(1/2 + p)*(x/(1 + x))^(2*(1 + p))*(1 + x)^(3/2 + p)*Hypergeometric2F1[1/2 + p, 2*(1 + p),
 3/2 + p, (1 - x)/(1 + x)])/((1 + 2*p)*(c*x)^(2*(1 + p))))

Rule 134

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[((a + b*x
)^(m + 1)*(c + d*x)^n*((e + f*x)^(p + 1)/((b*e - a*f)*(m + 1)))*Hypergeometric2F1[m + 1, -n, m + 2, (-(d*e - c
*f))*((a + b*x)/((b*c - a*d)*(e + f*x)))])/((b*e - a*f)*((c + d*x)/((b*c - a*d)*(e + f*x))))^n, x] /; FreeQ[{a
, b, c, d, e, f, m, n, p}, x] && EqQ[m + n + p + 2, 0] &&  !IntegerQ[n]

Rubi steps

\begin {align*} \int (1-x)^{-\frac {1}{2}+p} (c x)^{-2 (1+p)} (1+x)^{\frac {1}{2}+p} \, dx &=-\frac {4^{1+p} (1-x)^{\frac {1}{2}+p} (c x)^{-2 (1+p)} \left (\frac {x}{1+x}\right )^{2 (1+p)} (1+x)^{\frac {3}{2}+p} \, _2F_1\left (\frac {1}{2}+p,2 (1+p);\frac {3}{2}+p;\frac {1-x}{1+x}\right )}{1+2 p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 82, normalized size = 0.99 \begin {gather*} -\frac {4^{1+p} (1-x)^{\frac {1}{2}+p} (c x)^{-2 p} \left (\frac {x}{1+x}\right )^{2 p} (1+x)^{-\frac {1}{2}+p} \, _2F_1\left (\frac {1}{2}+p,2+2 p;\frac {3}{2}+p;\frac {1-x}{1+x}\right )}{c^2 (1+2 p)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 - x)^(-1/2 + p)*(1 + x)^(1/2 + p))/(c*x)^(2*(1 + p)),x]

[Out]

-((4^(1 + p)*(1 - x)^(1/2 + p)*(x/(1 + x))^(2*p)*(1 + x)^(-1/2 + p)*Hypergeometric2F1[1/2 + p, 2 + 2*p, 3/2 +
p, (1 - x)/(1 + x)])/(c^2*(1 + 2*p)*(c*x)^(2*p)))

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \left (1-x \right )^{-\frac {1}{2}+p} \left (1+x \right )^{\frac {1}{2}+p} \left (c x \right )^{-2 p -2}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-x)^(-1/2+p)*(1+x)^(1/2+p)/((c*x)^(2+2*p)),x)

[Out]

int((1-x)^(-1/2+p)*(1+x)^(1/2+p)/((c*x)^(2+2*p)),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-x)^(-1/2+p)*(1+x)^(1/2+p)/((c*x)^(2+2*p)),x, algorithm="maxima")

[Out]

integrate((c*x)^(-2*p - 2)*(x + 1)^(p + 1/2)*(-x + 1)^(p - 1/2), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-x)^(-1/2+p)*(1+x)^(1/2+p)/((c*x)^(2+2*p)),x, algorithm="fricas")

[Out]

integral((x + 1)^(p + 1/2)*(-x + 1)^(p - 1/2)/(c*x)^(2*p + 2), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-x)**(-1/2+p)*(1+x)**(1/2+p)/((c*x)**(2+2*p)),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-x)^(-1/2+p)*(1+x)^(1/2+p)/((c*x)^(2+2*p)),x, algorithm="giac")

[Out]

integrate((x + 1)^(p + 1/2)*(-x + 1)^(p - 1/2)/(c*x)^(2*p + 2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (1-x\right )}^{p-\frac {1}{2}}\,{\left (x+1\right )}^{p+\frac {1}{2}}}{{\left (c\,x\right )}^{2\,p+2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((1 - x)^(p - 1/2)*(x + 1)^(p + 1/2))/(c*x)^(2*p + 2),x)

[Out]

int(((1 - x)^(p - 1/2)*(x + 1)^(p + 1/2))/(c*x)^(2*p + 2), x)

________________________________________________________________________________________